{if $message}
	<div class="success alert-success alert">{$message}</div>
{else}
	<form action="{actualurl}#diskusia" method="post" class="reply">
		<fieldset>
			{if $errors}
				{foreach from=$errors item='error'}
					<div class="error alert-warning alert">{$error}</div>
				{/foreach}
			{/if}
			
			<div class="row">
				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
					<textarea class="form-control" rows="3" cols="40" placeholder="Váš komentár *" name="bodytext" required>{$values.bodytext}</textarea>
				</div>
			</div>				
			<input type="hidden" name="fk_article_id" value="{$article.uid}">
			<input type="hidden" name="fk_topic_id" value="{$topic.uid}">
			<input type="hidden" name="fk_user_id" value="{$loggedUser.uid}">
			<input type="hidden" name="diskusia" value="1">
		</fieldset>
		<button class="btn btn-color submit pull-right" type="submit">Odoslať</button>
		<div class="clearfix"></div>
	</form>
{/if}